<template>
    <div class="shade">
        <slot name="box"></slot>
    </div>
</template>
<script>
export default {
    
}
</script>

<style lang="less" scoped>
    .shade {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(94, 108, 157, 0.5);
        z-index: 999;
    }
</style>